package com.aviator.detective.execute.listener;

import com.aviator.detective.execute.eventbus.AllAllowConcurrentEvents;
import com.aviator.detective.execute.eventbus.AllSubscribe;
import com.aviator.detective.execute.event.*;

/**
 * 变量，规则，规则集，评分卡，决策表执行结果落库
 */
@AllSubscribe
@AllAllowConcurrentEvents
public class MysqlSinkExecuteElementListener implements RuleExecuteListener,RuleSetExecuteListener,DecisionTableExecuteListener,ScoreCardExecuteListener,VariableExecuteListener{

    @Override
    public void beforeRuleExecute(RuleExecuteStartEvent event) {

    }

    @Override
    public void afterRuleExecute(RuleExecuteCompleteEvent event) {

    }

    @Override
    public void ruleExecuteError(RuleExecuteErrorEvent event) {

    }

    @Override
    public void beforeDecisionTableExecute(DecisionTableExecuteStartEvent event) {

    }

    @Override
    public void afterDecisionTableExecute(DecisionTableExecuteCompleteEvent event) {

    }

    @Override
    public void decisionTableExecuteError(DecisionTableExecuteErrorEvent event) {

    }

    @Override
    public void beforeRuleSetExecute(RuleSetExecuteStartEvent event) {

    }

    @Override
    public void afterRuleSetExecute(RuleSetExecuteCompleteEvent event) {

    }

    @Override
    public void ruleSetExecuteError(RuleSetExecuteErrorEvent event) {

    }

    @Override
    public void beforeScoreCardExecute(ScoreCardExecuteStartEvent event) {

    }

    @Override
    public void afterScoreCardExecute(ScoreCardExecuteCompleteEvent event) {

    }

    @Override
    public void scoreCardExecuteError(ScoreCardExecuteErrorEvent event) {

    }

    @Override
    public void beforeVariableExecute(VariableExecuteStartEvent event) {

    }

    @Override
    public void afterVariableExecute(VariableExecuteCompleteEvent event) {

    }

    @Override
    public void variableExecuteError(VariableExecuteErrorEvent event) {

    }
}
